package com.main.by.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.main.by.entity.bo.UserLoginBO;
import com.main.by.entity.vo.UserRegisterVO;

public interface UserService {

	public UserLoginBO userLogin(UserLoginBO user, HttpServletRequest request, HttpServletResponse response) throws Exception;
	
	public boolean userRegister(UserRegisterVO user, HttpServletRequest request, HttpServletResponse response) throws Exception;
	
	public List<UserLoginBO> findAllUser(HttpServletRequest request) throws Exception;
	
	public List<UserLoginBO> findPendingUser(HttpServletRequest request) throws Exception;
	
	public boolean auditUserInfo(int userId) throws Exception;
	
	public boolean deleteUserById(int userId) throws Exception;
}
